
package com.bluelinelabs.conductor.conductor.internal;

import ohos.eventhandler.EventRunner;

/**
 * lipeiquan
 *
 * @since 2021-05-06
 */
public class ThreadUtils {

    public static void ensureMainThread() {
        if (EventRunner.getMainEventRunner().getThreadId() != Thread.currentThread().getId()) {
//            throw CalledFromWrongThreadException("Methods that affect the view hierarchy can can only be called from the main thread.")
        }
    }

}

